﻿/* RESET */
* {
    margin: 0;
    padding: 0;
    color: inherit;
}
h1, h2, h3, h4, h5, h6, pre, code, address, caption, cite, code, em, strong, th, figcaption {
    font-size: 1em;
    font-weight: normal;
    font-style: normal;
}
fieldset, iframe {
    border: none;
}
caption, th {
    text-align: left;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
article, aside, footer, header, hgroup, nav, section, figure, figcaption {
    display: block;
}
textarea {
    resize: none;
}
input[type="text"], input[type="password"] {
    box-sizing: border-box;
}
ul, ol {
    list-style: none;
}
a {
    color: inherit;
}

/* LAYOUT */
html {
    -webkit-text-size-adjust: none;
    background-color: #fff;
    padding: 0;
    font-size: 1.2em;
}
body {
    font-size: 63%; /* 62.5% */
    font-family: "微软雅黑" , "宋体" , "Trebuchet MS" , "Arial" , "Helvetica" , "Verdana" , "sans-serif"; /*微软雅黑，宋体*/
    color: #000;
}

.text-overflow {
    word-wrap: no-wrap;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
}
.warning {
    color: Red;
}
.infotable {
}
.infotable label {
    margin: 0 10px;
}

.infotable td {
    padding: 5px 0;
}
.infotable .buttons {
    text-align: right;
}
.datatable {
    border-collapse: collapse;
}
.datatable th {
    background-color: #ccc;
    font-weight: bold;
    text-align: center;
}
.datatable td, .datatable th {
    border: solid 1px #999;
    padding: 2px 5px;
}

.ui-label {
}
body input.ui-button {
    padding: .2em 1em;
}

.ui-button-add, .ui-button-edit, .ui-button-query, .ui-button-save, .ui-button-security, .ui-button-delete, .ui-button-cancel, .ui-button-refresh {
    height: 22px;
    padding-left: 13px;
    border: none;
    outline: 0;
    cursor: pointer;
    display: inline-block;
}
.ui-button-add {
    background: url(images/ui-icons.png) no-repeat 2px 6px;
}
.ui-button-edit {
    background: url(images/ui-icons.png) no-repeat 2px -44px;
}
.ui-button-query {
    background: url(images/ui-icons.png) no-repeat 2px -144px;
}
.ui-button-save {
    background: url(images/ui-icons.png) no-repeat 2px -443px;
}
.ui-button-security {
    background: url(images/ui-icons.png) no-repeat 2px -244px;
}
.ui-button-delete {
    background: url(images/ui-icons.png) no-repeat 2px -193px;
}
.ui-button-cancel {
    background: url(images/ui-icons.png) no-repeat 2px -493px;
}
.ui-button-refresh {
    background: url(images/ui-icons.png) no-repeat 2px -493px;
}
.icon-button-edit, .icon-button-delete, .icon-button-security, .icon-button-unlock, .icon-button-lock, .icon-button-move, icon-button-save {
    height: 20px;
    outline: 0;
    cursor: pointer;
    width: 20px;
    display: inline-block;
    border: solid 1px #ccc;
    margin: 1px;
}
.icon-button-edit:hover, .icon-button-delete:hover, .icon-button-security:hover, .icon-button-unlock:hover, .icon-button-lock:hover, .icon-button-move:hover, icon-button-save:hover {
    border: solid 1px #999;
}
.icon-button-edit {
    background: url(images/ui-icons.png) no-repeat 5px -45px;
}
.icon-button-delete {
    background: url(images/ui-icons.png) no-repeat 5px -195px;
}
.icon-button-security {
    background: url(images/ui-icons.png) no-repeat 4px -244px;
}
.icon-button-lock {
    background: url(images/ui-icons.png) no-repeat 7px -294px;
}
.icon-button-unlock {
    background: url(images/ui-icons.png) no-repeat 7px -344px;
}
.icon-button-move {
    background: url(images/ui-icons.png) no-repeat 4px -396px;
}
icon-button-save {
    background: url(images/ui-icons.png) no-repeat 4px -446px;
}

.datepicker {
    width: 100px;
    text-align: center;
}

.toolbuttons {
    height: 26px;
}
.toolbuttons > * {
    float: right;
    margin: 0 5px;
}
.toolbuttons > .ui-label {
    float: left;
}

.module .moduleheader {
    line-height: 4em;
    height: 4em;
    border-bottom: solid 1px #CCC;
    padding: 0 22px;
}
.module .moduleheader h4 {
    color: #357DB6;
    font-size: 1.2em;
    float: left;
}
.module .moduleheader .moduleheadertoolbar {
    float: right;
}
.module .modulecontent {
    border-top: solid 1px white;
    padding: 10px 22px;
}

.allpage {
    margin: 10px auto;
    text-align: center;
}
.allpage > * {
    margin: 0 2px;
}
.allpage a {
    text-decoration: none;
}
.allpage a:hover {
    text-decoration: underline;
}
.frmContent {
    background: transparent !important;
}

.filter {
    position: relative;
    display: inline-block;
}
.filter .filter-input {
    padding: 0 20px 0 5px;
    border: solid 1px #ccc;
    border-radius: 10px;
    line-height: 20px;
    height: 20px;
    outline: none;
}
.filter .filter-clear {
    position: absolute;
    display: block;
    z-index: 999;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    margin: 1px 0;
    text-decoration: none;
    background: url(images/ui-icons.png) 4px -194px no-repeat;
}
/*overlay loading*/
.ui-overlay-loading {
    background: #999 url(images/loading.gif) 50% 50% no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    opacity: .3;
    filter: Alpha(Opacity=30);
}
.dialog .infotable, .dialog .datatable {
    width: 100%;
}
.dialog .infotable td input[type="text"], .dialog .infotable td textarea {
    width: 100%;
}
